<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<center>
<form action="TestContrl/userRegist.do" method="post" enctype="multipart/form-data">
	<label>用户名:</label><input type="text" name="username" value="" /><p/>
	<label>密码:</label><input type="text" name="password" value="" /><p/>
	<label>昵称:</label><input type="text" name="nickname" value="" /><p/>
	<label>图片1:</label><input type="file" name="imgs" /><p/>
	<label>图片2:</label><input type="file" name="imgs" /><p/>
	<input type="submit" value="注册" />
</form>
</center>

</body>
</html>